﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace ZeroSum.Domain.Entities;

public interface IUpdate
{
    /// <summary>
    ///     更新时间
    /// </summary>
    [Description("更新时间")]
    public DateTimeOffset? UpdatedTime { get; set; }

    /// <summary>
    ///     修改者Id
    /// </summary>
    [Description("修改者Id")]
    public long? UpdatedUserId { get; set; }

    /// <summary>
    ///     修改者名称
    /// </summary>
    [Description("修改者名称")]
    [MaxLength(20)]
    public string? UpdatedUserName { get; set; }
}